type runtime.headTailIndex
15 uses
runtime (current package)
mspanset.go#L327: type headTailIndex uint64
mspanset.go#L331: func makeHeadTailIndex(head, tail uint32) headTailIndex {
mspanset.go#L332: return headTailIndex(uint64(head)<<32 | uint64(tail))
mspanset.go#L336: func (h headTailIndex) head() uint32 {
mspanset.go#L341: func (h headTailIndex) tail() uint32 {
mspanset.go#L346: func (h headTailIndex) split() (head uint32, tail uint32) {
mspanset.go#L356: func (h *atomicHeadTailIndex) load() headTailIndex {
mspanset.go#L357: return headTailIndex(h.u.Load())
mspanset.go#L361: func (h *atomicHeadTailIndex) cas(old, new headTailIndex) bool {
mspanset.go#L366: func (h *atomicHeadTailIndex) incHead() headTailIndex {
mspanset.go#L367: return headTailIndex(h.u.Add(1 << 32))
mspanset.go#L371: func (h *atomicHeadTailIndex) decHead() headTailIndex {
mspanset.go#L372: return headTailIndex(h.u.Add(-(1 << 32)))
mspanset.go#L376: func (h *atomicHeadTailIndex) incTail() headTailIndex {
mspanset.go#L377: ht := headTailIndex(h.u.Add(1))
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |